home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20031118-20041115
/
000131_sam@spade.com_Wed Mar 10 16:27:20 2004.msg
< prev
next >
Wrap
Text File
|
2004-11-14
|
3KB
|
73 lines
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!newsfeed.icl.net!newsfeed.news2me.com!newsfeed3.easynews.com!easynews.com!easynews!easynews-local!news.easynews.com.POSTED!not-for-mail
From: sam@spade.com
Newsgroups: comp.protocols.kermit.misc
Subject: Problems POSTing to ASP form from Kermit
Message-ID: <u6su40df16ffjvve82t3e6fhbvob8qk3im@4ax.com>
X-Newsreader: Forte Agent 1.91/32.564
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Lines: 56
X-Complaints-To: abuse@easynews.com
Organization: EasyNews, UseNet made Easy!
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Wed, 10 Mar 2004 19:51:00 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14840
Hey all,
I'm new to this version of Kermit and the HTTP capabilities, so please
bear with me. Also, I sent an email to support at Columbia.edu, but I
never received a response (or my spam filter ate the response :(
I have a page in my ASP application that permits a user to browse and
select a file on their system, then click the submit button to post
the file to my page. The file is posted as a multipart/form-data mime
type when done through the ASP page, and I can parse it just fine.
I am trying to replicate this scenario for remote users running Kermit
under SCO Unix. I'd like to have Kermit build the multipart message
and post it just like an HTML form would. [Is this even possible?]
So far, my trials with the PUT command result in nothing more than 403
Forbidden errors (trying 2 different servers). The error message also
shows the content-type as Text/html even though I've specified a mime
type of multipart/form-data in the put command.
Here's my Kermit command...
http /TOSCREEN /USER:myuserd /PASSWORD:mypswd put
/MIME-TYPE:multipart/form-data File2Upload.txt
http://localhost/test20/RemoteFileImportPost.asp
The results I get are as follows...
DNS Lookup... Trying 127.0.0.1... (OK)
Server: Microsoft-IIS/5.1
Date: Tue, 02 Mar 2004 17:24:26 GMT
HTTP/1.1 403 Forbidden
Server: Microsoft-IIS/5.1
Date: Tue, 02 Mar 2004 17:24:26 GMT
Connection: close
Content-Type: text/html
Content-Length: 44
(The content-length value of 44 doesn't change regardless of the file
I've selected to upload.)
I've included userid and password as both a switch and as a preface to
the URL with identical results.
I�m running on day 12 of the 21 day trial at the moment. The users
I�m supporting are actually military food ordering guys in the field.
They are all running C-Kermit 8.0.209, 17 Mar 2003, for Unixware 7,
according to the doc they sent me.
I�ve successfully managed to get Kermit to POST form data using a
separate file for the form parameters. (This is how I�ll get the
users to logon prior to sending their data.)
Thanks for any help you can provide.